package bancosys.tec.i18n;

/**
 * Exception lançada quando uma mensagem não é encontrada.
 *
 * @author jrenaut
 */
public class MessageNotFoundException extends Exception {
    private static final long serialVersionUID = -8168838105912826603L;
    private String missingKey;
    private String bundleName;
    
    /**
     * Constructor
     * @param bundleName bundleName
     * @param missingKey missingKey
     */
    public MessageNotFoundException(String bundleName, String missingKey) {
        super();
        this.bundleName = bundleName;
        this.missingKey = missingKey;
    }

    /**
     * @return the missingKey
     */
    public String getMissingKey() {
        return missingKey;
    }

    /**
     * @return the bundleName
     */
    public String getBundleName() {
        return bundleName;
    }
}
